package cn.ibdsr.human.transfer;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author chenglx
 * @version V1.0
 * @description 用户登录返回结果
 * @createDate 2020/3/26 14:49
 * <p>
 * Date Author Description
 * ------------------------------------------------------
 * 2020/3/26 chenglx init
 */
@Data
@ApiModel(value = "用户登录成功后的返回类")
public class UserLoginResponse {

    /**
     * 登录成功后的 session ID
     */
    @ApiModelProperty(value = "登录成功后的用于标识登录态的token")
    private String token;
    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称")
    private String name;


    public UserLoginResponse() {

    }

    public UserLoginResponse(String token, String name) {
        this.token = token;
        this.name =name;
    }
}
